package serveur;

import java.rmi.Remote;

import modele.Bd;

public interface Serveur extends Remote {
    
    int nbClients = 0;

    // pour avoir l'info
    public String getHost() throws Exception;
    public String getPort() throws Exception;
    public String getService() throws Exception;
    public int    getNbClients() throws Exception;
    public void   AddClient() throws Exception;
    public void   RemoveClient() throws Exception;

    public Bd     getBd() throws Exception;

    public void   setBd(Bd bd) throws Exception;

}
